{@if entry.length > 0}
    <table class="table table-hover">
        <thead>
        <tr>
            <th style="width: 120px;"><input type="checkbox" id="selectAll">全选</th>
            <th>商品ID</th>
            <th>SPUid</th>
            <th>条形码</th>
            <th>商品名称</th>
            <th>平台价格</th>
            <th id="outPriceChange">淘宝价格</th>
            <th>排序</th>
            <th>活动类目</th>
            <th>库存</th>
            <th>外店状态</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {@each entry as list}
        <tr data-id="${list.id}" id="goodListId${list.id}">
            <td>
                <input type="checkbox" class="onlySelect" value="${list.id}">
                <img src="http://imgsize.52shangou.com/img/${list.bigPicUrl}@80w" style="width: 80px;height: 80px;">
            </td>
            <td>${list.id}</td>
            <td>${list.spuId}</td>
            <td>
                {@if list.barcode}
                    ${list.barcode}
                {@/if}
            </td>
            <td>${list.itemName}</td>
            <td>${list.price}</td>
            <td>
                <input type="text" readonly class="editOutPrice" value="${list.outPrice}" data-id="${list.id}" style="width: 80px;">
                <div data-price="${list.outPrice}" data-resetprice="${list.price}">
                    <button type="button" class="btn btn-default btn-xs changeOutPrice" data-id="${list.id}">编辑</button>
                    <button type="button" class="btn btn-default btn-xs resetPrice" data-id="${list.id}" data-price="${list.price}">重置</button>
                </div>
            </td>
            <td>
                <input type="text" readonly {@if list.outLevel}value="${list.outLevel}"{@/if} style="width: 80px;" class="changeLevel" data-id="${list.id}">
                <div data-level="${list.outLevel}" data-save="">
                </div>
            </td>
            <td>
                {@if list.actcatName}
                    ${list.actcatName}
                {@/if}
            </td>
            <td>${list.quantity}</td>
            <td>${list.outItemStatusDesc}</td>
            <td>
                {@if list.outItemStatus == 0}
                <p><button type="button" class="btn btn-link btn-xs listPutOn" data-id="${list.id}">上架</button></p>
                {@/if}
                {@if list.outItemStatus == 100}
                <p><button type="button" class="btn btn-link btn-xs listPutOff" data-id="${list.id}">下架</button></p>
                {@/if}
                {@if list.actcatName}
                <p><button type="button" class="btn btn-link btn-xs listUnBind" data-id="${list.id}">解绑</button></p>
                {@/if}
                <p><button type="button" class="btn btn-link btn-xs listEditGood" data-id="${list.id}">编辑商品</button></p>
                <input type="hidden" value="${list.id}" id="operateList${list.id}">
            </td>
        </tr>
        {@/each}
        </tbody>
    </table>
{@else}
    <div class="noResult">没有匹配的记录</div>
{@/if}
